[Manager Summary]

PMGetPageFormatExtendedData


Obtains additional page format data previously stored by your application.
OSStatus PMGetPageFormatExtendedData(PMPageFormat pageFormat, OSType dataID, UInt32 *size, void *theData)
PARAMETERS
pageFormat
A PMPageFormat object. Specify the object from which you wish to retrieve data.
dataID
A four-character code. Use this code to specify your data.
size
A pointer to a variable describing the size of the buffer you've allocated for receiving the data. On return, this variable contains the number of bytes read or the size of the extended data. If you don't need this information, pass the constant kPMDontWantSize in this parameter.

theData
A pointer to a buffer. On return, this buffer contains the extended data. If you don't need the actual data, you can pass the constant kPMDontWantData in this parameter.
function result
A result code. See Result Codes.
DISCUSSION
Use the function PMSetPageFormatExtendedData to store the data you retrieve with the PMGetPageFormatExtendedData function.

Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.